﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CloudClip.ExtensionMethod;
using CloudClip.LocalFile;

namespace CloudClip.Login
{
    public class LoginManager
    {
        //public bool Login(frmMain frmMain)
        //{
        //    //取得設置檔裡需要的LoginProvider
        //    Setting setting = new Setting();

        //    ILoginProvider provider = new LocalFileLoginProvider();

        //    if (setting.LoginTypeString.IsNullOrEmpty() == false)
        //    {
        //        provider = setting.LoginTypeString.CreateObjectByObjectIdentityString<ILoginProvider>();
        //    }

        //    return provider.Login(frmMain);
        //}
    }
}
